/**
 * 
 */
package com.shine.icis.blo;

import com.shine.cotrun.sql.QueryParameters;
import com.shine.cotrun.web.comm.ListPage;
import com.shine.icis.dto.CompanyInfo;
import com.shine.icis.exception.ICISException;
/**
 * @author zsy
 *
 */
public interface ICompanyInfoService {
	
	/**
	 * 增加
	 * @param companyCode
	 * @param companyName
	 * @param settleInvoCode
	 * @param ofSaleInvoCode
	 * @param settleInvoID
	 * @param settleInvoAcctNO
	 * @param occurDate
	 * @throws ICISException
	 */
	public void addCompanyInfo(String companyCode, String companyName, 
			String settleInvoCode, String ofSaleInvoCode, String settleInvoID, 
			String settleInvoAcctNO, String occurDate) throws ICISException;
	
	/**
	 * 修改
	 * @param companyCode
	 * @param companyName
	 * @param settleInvoCode
	 * @param ofSaleInvoCode
	 * @param settleInvoID
	 * @param settleInvoAcctNO
	 * @param occurDate
	 * @throws ICISException
	 */
	public void modifyCompanyInfo(String oldCompanyCode, String companyCode, String companyName, 
			String settleInvoCode, String ofSaleInvoCode, String settleInvoID, 
			String settleInvoAcctNO, String occurDate) throws ICISException;
	
	/**
	 * 删除
	 * @param companycode
	 */
	public void deleteCompanyInfo(String companycode);
	
	/**
	 * 翻页查找
	 * @param dataDate
	 * @return
	 */
	public ListPage<CompanyInfo> getCompanyInfoPage(QueryParameters qp);
	
	/**
	 * 获取证券公司代码
	 * @return
	 */
	public String getCompanyCode();
}
